package com.tqz.spring.demo1;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main1 {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("spring-transcation.xml");
		AccountService accountService = (AccountService) context.getBean("accountServiceProxy");
		accountService.transfer("aaa", "bbb", 200);
	}

}
